package com.ruoyi.tranShort.service;


import com.ruoyi.tranShort.domain.ShortMqttConfig;

/**
 * mqtt配置Service接口
 * 
 * @author ruoyi
 * @date 2021-08-09
 */
public interface IShortMqttConfigService 
{

    /**
     * 修改mqtt配置
     * 
     * @param shortMqttConfig mqtt配置
     * @return 结果
     */
    public int updateShortMqttConfig(ShortMqttConfig shortMqttConfig);


    /**
     * 查询单个配置信息
     * @return
     */
    ShortMqttConfig selectShortMqttConfig();


    /**
     * 连接测试
     * @param shortMqttConfig
     * @return
     */
    int connectTest(ShortMqttConfig shortMqttConfig);

    /**
     * 连接
     * @param shortMqttConfig
     * @return
     */
    int connect(ShortMqttConfig shortMqttConfig);

}
